package com.brickworkers.codemaker.enums;

/**
 * 枚举类，用于指明不同文件的类型
 * @author brickworker
 *
 */
public enum BuilderType {
	
	CONTROLLER("Controller.java","temp.controller.name","file.controller.path"),
	DOMAIN(".java","temp.domain.name","file.domain.path"),
//	SERVICE("Service.java","temp.service.name","file.service.path"), 
	DAO("Dao.java","temp.dao.name","file.dao.path");
//	MYBATIS_XML("mapper.xml","temp.mybatis.name","file.mybatis.path");
	
	private String suffix;
	private String description;
	private String toFilePath;
	
	private BuilderType(String suffix, String description, String toFilePath){
		this.suffix = suffix;
		this.description = description;
		this.toFilePath = toFilePath;
	}
	
	
	public String getSuffix(){
		return this.suffix;
	}
	
	public String getDescription(){
		return this.description;
	}
	
	public String getToFilePath(){
		return this.toFilePath;
	}

}
